package com.lucenly.card.activity;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;

import com.lucenly.card.MainActivity;
import com.lucenly.card.R;
import com.lucenly.card.base.BaseActivity;

public class SplashActivity extends BaseActivity {
    private Handler mHandler = new Handler();
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
    }

    @Override
    protected void initView() {
        mHandler.postDelayed(new Runnable() {
            @Override
            public void run() {
                startActivity(new Intent(SplashActivity.this, MainActivity.class));
                finish();
            }
        },2000);
    }

    @Override
    protected void bindEvent() {

    }

    @Override
    protected void initData() {

    }


    @Override
    protected void processClick(View view) {

    }
}
